package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the JL_EXAMINE_APPLY database table.
 * 
 */
@Entity
@Table(name="JL_EXAMINE_APPLY")
@NamedQuery(name="JlExamineApply.findAll", query="SELECT j FROM JlExamineApply j")
public class JlExamineApply implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="JL_EXAMINE_APPLY_EID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="JL_EXAMINE_APPLY_EID_GENERATOR")
	@Column(name="E_ID")
	private long eId;

	@Column(name="CPRE_ID")
	private String cpreId;

	@Temporal(TemporalType.DATE)
	@Column(name="E_DATE")
	private Date eDate;

	@Column(name="E_OFFICE")
	private String eOffice;

	@Column(name="E_PHYSICIAN")
	private String ePhysician;

	@Column(name="IE_ID")
	private BigDecimal ieId;

	@Column(name="\"STATE\"")
	private String state;

	private String ynexamine;

	public JlExamineApply() {
	}

	public long getEId() {
		return this.eId;
	}

	public void setEId(long eId) {
		this.eId = eId;
	}

	public String getCpreId() {
		return this.cpreId;
	}

	public void setCpreId(String cpreId) {
		this.cpreId = cpreId;
	}

	public Date getEDate() {
		return this.eDate;
	}

	public void setEDate(Date eDate) {
		this.eDate = eDate;
	}

	public String getEOffice() {
		return this.eOffice;
	}

	public void setEOffice(String eOffice) {
		this.eOffice = eOffice;
	}

	public String getEPhysician() {
		return this.ePhysician;
	}

	public void setEPhysician(String ePhysician) {
		this.ePhysician = ePhysician;
	}

	public BigDecimal getIeId() {
		return this.ieId;
	}

	public void setIeId(BigDecimal ieId) {
		this.ieId = ieId;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getYnexamine() {
		return this.ynexamine;
	}

	public void setYnexamine(String ynexamine) {
		this.ynexamine = ynexamine;
	}

}